package com.dslu.fx.domain;

import com.fasterxml.jackson.annotation.JsonFormat;

import java.io.Serializable;
import java.util.Date;


/**
 * 车辆表
 * @date 2021-02-23 16:48:27
 */
public class CarDO implements Serializable {
	private static final long serialVersionUID = 1L;
	
	//物理ID
	private Integer id;
	//车辆图片
	private String img;
	//车牌号
	private String number;
	private String name;
	//分类ID
	private Integer carCategoryId;
	private String carCategoryName;
	//车辆厂家
	private String carFactory;
	//所属部门
	private Integer deptId;

	private String deptName;
	//备注
	private String remark;
	private String model;
	@JsonFormat(pattern = "yyyy-MM-dd")
	private Date buyTime;
	//创建时间

	private Date createTime;
	//更新时间
	private Date updateTime;

	public String getCarCategoryName() {
		return carCategoryName;
	}

	public void setCarCategoryName(String carCategoryName) {
		this.carCategoryName = carCategoryName;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getModel() {
		return model;
	}

	public void setModel(String model) {
		this.model = model;
	}

	public Date getBuyTime() {
		return buyTime;
	}

	public void setBuyTime(Date buyTime) {
		this.buyTime = buyTime;
	}

	public String getDeptName() {
		return deptName;
	}

	public void setDeptName(String deptName) {
		this.deptName = deptName;
	}

	/**
	 * 设置：物理ID
	 */
	public void setId(Integer id) {
		this.id = id;
	}
	/**
	 * 获取：物理ID
	 */
	public Integer getId() {
		return id;
	}
	/**
	 * 设置：车辆图片
	 */
	public void setImg(String img) {
		this.img = img;
	}
	/**
	 * 获取：车辆图片
	 */
	public String getImg() {
		return img;
	}
	/**
	 * 设置：车牌号
	 */
	public void setNumber(String number) {
		this.number = number;
	}
	/**
	 * 获取：车牌号
	 */
	public String getNumber() {
		return number;
	}
	/**
	 * 设置：分类ID
	 */
	public void setCarCategoryId(Integer carCategoryId) {
		this.carCategoryId = carCategoryId;
	}
	/**
	 * 获取：分类ID
	 */
	public Integer getCarCategoryId() {
		return carCategoryId;
	}
	/**
	 * 设置：车辆厂家
	 */
	public void setCarFactory(String carFactory) {
		this.carFactory = carFactory;
	}
	/**
	 * 获取：车辆厂家
	 */
	public String getCarFactory() {
		return carFactory;
	}
	/**
	 * 设置：所属部门
	 */
	public void setDeptId(Integer deptId) {
		this.deptId = deptId;
	}
	/**
	 * 获取：所属部门
	 */
	public Integer getDeptId() {
		return deptId;
	}
	/**
	 * 设置：备注
	 */
	public void setRemark(String remark) {
		this.remark = remark;
	}
	/**
	 * 获取：备注
	 */
	public String getRemark() {
		return remark;
	}
	/**
	 * 设置：创建时间
	 */
	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}
	/**
	 * 获取：创建时间
	 */
	public Date getCreateTime() {
		return createTime;
	}
	/**
	 * 设置：更新时间
	 */
	public void setUpdateTime(Date updateTime) {
		this.updateTime = updateTime;
	}
	/**
	 * 获取：更新时间
	 */
	public Date getUpdateTime() {
		return updateTime;
	}
}
